#!/bin/bash
VER=1.4
BUILD=`date +"%Y%m%d"`

rm -rf rel
mkdir -p rel/etc
cp bin/TranslationEd.exe rel/
cp bin/TranslationEd.txt rel/
cp bin/etc/TransDB.idb rel/etc
cp bin/ReadMe.txt rel/
cp -r bin/aspell rel/
rm -rf rel/aspell/.svn/
rm -rf rel/aspell/bin/.svn/
rm -rf rel/aspell/data/.svn/
rm -rf rel/aspell/dict/.svn/
rm -rf rel/aspell/doc/.svn/
rm -rf rel/aspell/doc/html/.svn/
rm -rf rel/aspell/doc/text/.svn/
cd rel && rar a ../TranslationEd-$VER-build$BUILD.rar *

